package top.whysu.study.thinkinjava.chapter9.interfaces.example2;

public class Waveform {
    private static long counter;
    private final long id = counter++;

    @Override
    public String toString() {
        return "Waveform " + id;
    }
}